Optimal. Leaf size=380 \[ -\frac{\left (7 \sqrt{b} d-5 \sqrt{a} f\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\left (7 \sqrt{b} d-5 \sqrt{a} f\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{11/4} b^{7/4}}-\frac{\left (5 \sqrt{a} f+7 \sqrt{b} d\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\left (5 \sqrt{a} f+7 \sqrt{b} d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}+\frac{e \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{32 a^{5/2} b^{3/2}}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.402178, antiderivative size = 380, normalized size of antiderivative = 1., number of steps used = 16, number of rules used = 11, integrand size = 28, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.393, Rules used = {1823, 1855, 1876, 275, 205, 1168, 1162, 617, 204, 1165, 628} \[ -\frac{\left (7 \sqrt{b} d-5 \sqrt{a} f\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\left (7 \sqrt{b} d-5 \sqrt{a} f\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{11/4} b^{7/4}}-\frac{\left (5 \sqrt{a} f+7 \sqrt{b} d\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\left (5 \sqrt{a} f+7 \sqrt{b} d\right ) \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}+\frac{e \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{32 a^{5/2} b^{3/2}}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1823
Rule 1855
Rule 1876
Rule 275
Rule 205
Rule 1168
Rule 1162
Rule 617
Rule 204
Rule 1165
Rule 628
Rubi steps
\begin{align*} \int \frac{x^3 \left (c+d x+e x^2+f x^3\right )}{\left (a+b x^4\right )^4} \, dx &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{\int \frac{d+2 e x+3 f x^2}{\left (a+b x^4\right )^3} \, dx}{12 b}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}-\frac{\int \frac{-7 d-12 e x-15 f x^2}{\left (a+b x^4\right )^2} \, dx}{96 a b}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}+\frac{\int \frac{21 d+24 e x+15 f x^2}{a+b x^4} \, dx}{384 a^2 b}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}+\frac{\int \left (\frac{24 e x}{a+b x^4}+\frac{21 d+15 f x^2}{a+b x^4}\right ) \, dx}{384 a^2 b}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}+\frac{\int \frac{21 d+15 f x^2}{a+b x^4} \, dx}{384 a^2 b}+\frac{e \int \frac{x}{a+b x^4} \, dx}{16 a^2 b}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}+\frac{e \operatorname{Subst}\left (\int \frac{1}{a+b x^2} \, dx,x,x^2\right )}{32 a^2 b}+\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}-5 f\right ) \int \frac{\sqrt{a} \sqrt{b}-b x^2}{a+b x^4} \, dx}{256 a^2 b^2}+\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}+5 f\right ) \int \frac{\sqrt{a} \sqrt{b}+b x^2}{a+b x^4} \, dx}{256 a^2 b^2}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}+\frac{e \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{32 a^{5/2} b^{3/2}}-\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}-5 f\right ) \int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}+2 x}{-\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx}{512 \sqrt{2} a^{9/4} b^{7/4}}-\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}-5 f\right ) \int \frac{\frac{\sqrt{2} \sqrt [4]{a}}{\sqrt [4]{b}}-2 x}{-\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}-x^2} \, dx}{512 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}+5 f\right ) \int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}-\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx}{512 a^2 b^2}+\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}+5 f\right ) \int \frac{1}{\frac{\sqrt{a}}{\sqrt{b}}+\frac{\sqrt{2} \sqrt [4]{a} x}{\sqrt [4]{b}}+x^2} \, dx}{512 a^2 b^2}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}+\frac{e \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{32 a^{5/2} b^{3/2}}-\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}-5 f\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}-5 f\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (7 \sqrt{b} d+5 \sqrt{a} f\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}-\frac{\left (7 \sqrt{b} d+5 \sqrt{a} f\right ) \operatorname{Subst}\left (\int \frac{1}{-1-x^2} \, dx,x,1+\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}\\ &=-\frac{c+d x+e x^2+f x^3}{12 b \left (a+b x^4\right )^3}+\frac{x \left (d+2 e x+3 f x^2\right )}{96 a b \left (a+b x^4\right )^2}+\frac{x \left (7 d+12 e x+15 f x^2\right )}{384 a^2 b \left (a+b x^4\right )}+\frac{e \tan ^{-1}\left (\frac{\sqrt{b} x^2}{\sqrt{a}}\right )}{32 a^{5/2} b^{3/2}}-\frac{\left (7 \sqrt{b} d+5 \sqrt{a} f\right ) \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}+\frac{\left (7 \sqrt{b} d+5 \sqrt{a} f\right ) \tan ^{-1}\left (1+\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right )}{256 \sqrt{2} a^{11/4} b^{7/4}}-\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}-5 f\right ) \log \left (\sqrt{a}-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{9/4} b^{7/4}}+\frac{\left (\frac{7 \sqrt{b} d}{\sqrt{a}}-5 f\right ) \log \left (\sqrt{a}+\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{b} x^2\right )}{512 \sqrt{2} a^{9/4} b^{7/4}}\\ \end{align*}
Mathematica [A] time = 0.421341, size = 366, normalized size = 0.96 \[ \frac{\frac{8 b^{3/4} x (7 d+3 x (4 e+5 f x))}{a^2 \left (a+b x^4\right )}-\frac{6 \tan ^{-1}\left (1-\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}\right ) \left (16 \sqrt [4]{a} \sqrt [4]{b} e+5 \sqrt{2} \sqrt{a} f+7 \sqrt{2} \sqrt{b} d\right )}{a^{11/4}}+\frac{6 \tan ^{-1}\left (\frac{\sqrt{2} \sqrt [4]{b} x}{\sqrt [4]{a}}+1\right ) \left (-16 \sqrt [4]{a} \sqrt [4]{b} e+5 \sqrt{2} \sqrt{a} f+7 \sqrt{2} \sqrt{b} d\right )}{a^{11/4}}+\frac{3 \sqrt{2} \left (5 \sqrt{a} f-7 \sqrt{b} d\right ) \log \left (-\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{a^{11/4}}+\frac{3 \sqrt{2} \left (7 \sqrt{b} d-5 \sqrt{a} f\right ) \log \left (\sqrt{2} \sqrt [4]{a} \sqrt [4]{b} x+\sqrt{a}+\sqrt{b} x^2\right )}{a^{11/4}}-\frac{256 b^{3/4} (c+x (d+x (e+f x)))}{\left (a+b x^4\right )^3}+\frac{32 b^{3/4} x (d+x (2 e+3 f x))}{a \left (a+b x^4\right )^2}}{3072 b^{7/4}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.012, size = 403, normalized size = 1.1 \begin{align*}{\frac{1}{ \left ( b{x}^{4}+a \right ) ^{3}} \left ({\frac{5\,bf{x}^{11}}{128\,{a}^{2}}}+{\frac{be{x}^{10}}{32\,{a}^{2}}}+{\frac{7\,bd{x}^{9}}{384\,{a}^{2}}}+{\frac{7\,f{x}^{7}}{64\,a}}+{\frac{e{x}^{6}}{12\,a}}+{\frac{3\,d{x}^{5}}{64\,a}}-{\frac{5\,f{x}^{3}}{384\,b}}-{\frac{e{x}^{2}}{32\,b}}-{\frac{7\,dx}{128\,b}}-{\frac{c}{12\,b}} \right ) }+{\frac{7\,d\sqrt{2}}{1024\,b{a}^{3}}\sqrt [4]{{\frac{a}{b}}}\ln \left ({ \left ({x}^{2}+\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ({x}^{2}-\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ) }+{\frac{7\,d\sqrt{2}}{512\,b{a}^{3}}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ) }+{\frac{7\,d\sqrt{2}}{512\,b{a}^{3}}\sqrt [4]{{\frac{a}{b}}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ) }+{\frac{e}{32\,b{a}^{2}}\arctan \left ({x}^{2}\sqrt{{\frac{b}{a}}} \right ){\frac{1}{\sqrt{ab}}}}+{\frac{5\,f\sqrt{2}}{1024\,{b}^{2}{a}^{2}}\ln \left ({ \left ({x}^{2}-\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) \left ({x}^{2}+\sqrt [4]{{\frac{a}{b}}}x\sqrt{2}+\sqrt{{\frac{a}{b}}} \right ) ^{-1}} \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+{\frac{5\,f\sqrt{2}}{512\,{b}^{2}{a}^{2}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}+{\frac{5\,f\sqrt{2}}{512\,{b}^{2}{a}^{2}}\arctan \left ({x\sqrt{2}{\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}}-1 \right ){\frac{1}{\sqrt [4]{{\frac{a}{b}}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.09185, size = 513, normalized size = 1.35 \begin{align*} \frac{\sqrt{2}{\left (8 \, \sqrt{2} \sqrt{a b} b^{2} e + 7 \, \left (a b^{3}\right )^{\frac{1}{4}} b^{2} d + 5 \, \left (a b^{3}\right )^{\frac{3}{4}} f\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x + \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{512 \, a^{3} b^{4}} + \frac{\sqrt{2}{\left (8 \, \sqrt{2} \sqrt{a b} b^{2} e + 7 \, \left (a b^{3}\right )^{\frac{1}{4}} b^{2} d + 5 \, \left (a b^{3}\right )^{\frac{3}{4}} f\right )} \arctan \left (\frac{\sqrt{2}{\left (2 \, x - \sqrt{2} \left (\frac{a}{b}\right )^{\frac{1}{4}}\right )}}{2 \, \left (\frac{a}{b}\right )^{\frac{1}{4}}}\right )}{512 \, a^{3} b^{4}} + \frac{\sqrt{2}{\left (7 \, \left (a b^{3}\right )^{\frac{1}{4}} b^{2} d - 5 \, \left (a b^{3}\right )^{\frac{3}{4}} f\right )} \log \left (x^{2} + \sqrt{2} x \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{1024 \, a^{3} b^{4}} - \frac{\sqrt{2}{\left (7 \, \left (a b^{3}\right )^{\frac{1}{4}} b^{2} d - 5 \, \left (a b^{3}\right )^{\frac{3}{4}} f\right )} \log \left (x^{2} - \sqrt{2} x \left (\frac{a}{b}\right )^{\frac{1}{4}} + \sqrt{\frac{a}{b}}\right )}{1024 \, a^{3} b^{4}} + \frac{15 \, b^{2} f x^{11} + 12 \, b^{2} x^{10} e + 7 \, b^{2} d x^{9} + 42 \, a b f x^{7} + 32 \, a b x^{6} e + 18 \, a b d x^{5} - 5 \, a^{2} f x^{3} - 12 \, a^{2} x^{2} e - 21 \, a^{2} d x - 32 \, a^{2} c}{384 \,{\left (b x^{4} + a\right )}^{3} a^{2} b} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]